package com.xinghanlaser.applet.vo.point;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/5/8 11:10
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class EvaluatePostVO {

    @ApiModelProperty(value = "申请单ID")
    @NotNull(message = "申请单ID不能为空")
    private Long topicId;

    @ApiModelProperty(value = "评价描述")
    @NotBlank(message = "评价描述不能为空")
    private String desc;

    @ApiModelProperty(value = "评价等级1")
    private Integer grade1;

    @ApiModelProperty(value = "评价等级2")
    private Integer grade2;

    @ApiModelProperty(value = "评价等级3")
    private Integer grade3;

    @ApiModelProperty(value = "评价等级4")
    private Integer grade4;

    @ApiModelProperty(value = "评价等级5")
    private Integer grade5;
}
